package com.zoro.barn.business.service.sqldocument.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhaoxingwu
 */
@Component
@ConfigurationProperties("mongo.document")
public class MongoDbConfig {

    /**
     * 文档中的插图 db
     */
    private String documentImageDb = "document-image";
    /**
     * 文档保存的db
     */
    private String documentTextDb = "document-text";

    public String getDocumentImageDb() {
        return documentImageDb;
    }

    public void setDocumentImageDb(String documentImageDb) {
        this.documentImageDb = documentImageDb;
    }

    public String getDocumentTextDb() {
        return documentTextDb;
    }

    public void setDocumentTextDb(String documentTextDb) {
        this.documentTextDb = documentTextDb;
    }
}
